import datetime

from django.db import models


# Create your models here.

class Pay(models.Model):
    """支付模型"""
    created_at = models.DateTimeField(auto_now_add=True, verbose_name="创建时间")
    updated_at = models.DateTimeField(auto_now=True, verbose_name="更新时间")
    pay_id = models.TextField(default='', verbose_name="订单支付id")
    seat_id = models.TextField(blank=True, null=True, verbose_name="座位支付id")
    cinema_id = models.IntegerField(default=0, verbose_name="支付的影院id")

    class Meta:
        db_table = 'pay'
        verbose_name = '支付宝支付'
        verbose_name_plural = '支付宝支付'
